package com.kfm.springmybatis.dao;

import com.kfm.springmybatis.model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface StudentDao {
    List<Student> selectAll();
    int insertStudent(Student student);
    int updateStudent(Student student);
    int deleteStudent(int id);
    List<Student> queryStudentsWithPaging(int pageNum, int pageSize);
}
